Class Query<DreamClass, Table, QueryAssociationExpression, ColumnType>

Type Parameters

  • DreamClass extends typeof Dream

  • Table = DB[InstanceType<DreamClass>["table"]]

  • QueryAssociationExpression = AssociationExpression<InstanceType<DreamClass>["table"], any>

  • ColumnType = keyof DB[keyof DB] extends never
        ? unknown
        : keyof DB[keyof DB]

Hierarchy

  • Query

Constructors

  • Type Parameters

    • DreamClass extends typeof Dream

    • Table = DB[InstanceType<DreamClass>["table"]]

    • QueryAssociationExpression = keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never)

    • ColumnType = "id" | "created_at"

    Parameters

    • DreamClass: DreamClass
    • opts: QueryOpts<DreamClass, ColumnType> = {}

    Returns Query<DreamClass, Table, QueryAssociationExpression, ColumnType>

Properties

dreamClass: DreamClass
dreamTransaction: null | DreamTransaction = null
includesStatements: readonly (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
        [Property in string | number | symbol]: any
    }>
    ? Partial<{
        [Property in string | number | symbol]: any
    }>
    : never))[] | (any extends Partial<{
        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
            ? Partial<{
                [Property in string | number | symbol]: any
            }>
            : never)
    }>
    ? Partial<{
        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                [Property in string | number | symbol]: any
            }>
            ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
            : never)
    }>
    : never))[] = []
joinsStatements: readonly (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
        [Property in string | number | symbol]: any
    }>
    ? Partial<{
        [Property in string | number | symbol]: any
    }>
    : never))[] | (any extends Partial<{
        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
            ? Partial<{
                [Property in string | number | symbol]: any
            }>
            : never)
    }>
    ? Partial<{
        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                [Property in string | number | symbol]: any
            }>
            ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
            : never)
    }>
    : never))[] = []
limitStatement: null | LimitStatement
orStatements: readonly Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
        [Property in string | number | symbol]: any
    }>
    ? Partial<{
        [Property in string | number | symbol]: any
    }>
    : never))[] | (any extends Partial<{
        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
            ? Partial<{
                [Property in string | number | symbol]: any
            }>
            : never)
    }>
    ? Partial<{
        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                [Property in string | number | symbol]: any
            }>
            ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
            : never)
    }>
    : never), "id" | "created_at">[] = []
orderStatement: null | {
    column: ColumnType & string;
    direction: "desc" | "asc";
} = null
shouldBypassDefaultScopes: boolean = false
whereJoinsStatement: readonly ((keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
    ? Partial<{
        [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
    }>
    : keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends any[]
        ? (any extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
            ? Partial<{
                [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
            }>
            : any[] | (any extends Partial<{
                    [AssociationName in string | number | symbol]: any
                }>
                ? Partial<{
                    [AssociationName in string | number | symbol]: any
                }>
                : never))[]
        : keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends Partial<{
                [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                        [Property in string | number | symbol]: any
                    }>
                    ? Partial<{
                        [Property in string | number | symbol]: any
                    }>
                    : never)
            }>
            ? Partial<{
                [AssociationName in string | number | symbol]: ((Partial<{
                            [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                    [Property in string | number | symbol]: any
                                }>
                                ? Partial<{
                                    [Property in string | number | symbol]: any
                                }>
                                : never)
                        }> & keyof SyncedAssociations[InstanceType<DreamClass>["table"]])[AssociationName] extends string
                        ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                        : (Partial<{
                                [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                        [Property in string | number | symbol]: any
                                    }>
                                    ? Partial<{
                                        [Property in string | number | symbol]: any
                                    }>
                                    : never)
                            }> & keyof SyncedAssociations[InstanceType<DreamClass>["table"]])[AssociationName] extends any[]
                            ? (any[any][number] extends string
                                ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                : any[any][number] extends any[]
                                    ? any[]
                                    : any[any][number] extends Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        ? Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        : never)[]
                            : (Partial<{
                                    [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        ? Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        : never)
                                }> & keyof SyncedAssociations[InstanceType<DreamClass>["table"]])[AssociationName] extends Partial<{
                                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                        ? Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        : never)
                                }>
                                ? Partial<{
                                    [Property in string | number | symbol]: any[any][Property] extends string
                                        ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                        : any[any][Property] extends any[]
                                            ? any[]
                                            : any[any][Property] extends Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                : never
                                }>
                                : never) extends keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                    ? Partial<{
                        [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                    }>
                    : ((Partial<{
                                [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                        [Property in string | number | symbol]: any
                                    }>
                                    ? Partial<{
                                        [Property in string | number | symbol]: any
                                    }>
                                    : never)
                            }> & keyof SyncedAssociations[InstanceType<DreamClass>["table"]])[AssociationName] extends string
                            ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                            : (Partial<{
                                    [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        ? Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        : never)
                                }> & keyof SyncedAssociations[InstanceType<DreamClass>["table"]])[AssociationName] extends any[]
                                ? (any[any][number] extends string
                                    ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                    : any[any][number] extends any[]
                                        ? any[]
                                        : any[any][number] extends Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            ? Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            : never)[]
                                : (Partial<{
                                        [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            ? Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            : never)
                                    }> & keyof SyncedAssociations[InstanceType<DreamClass>["table"]])[AssociationName] extends Partial<{
                                        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                            ? Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            : never)
                                    }>
                                    ? Partial<{
                                        [Property in string | number | symbol]: any[any][Property] extends string
                                            ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                            : any[any][Property] extends any[]
                                                ? any[]
                                                : any[any][Property] extends Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                    : never
                                    }>
                                    : never) extends any[]
                        ? any[]
                        : ((Partial<{
                                    [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        ? Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        : never)
                                }> & keyof SyncedAssociations[InstanceType<DreamClass>["table"]])[AssociationName] extends string
                                ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                : (Partial<{
                                        [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            ? Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            : never)
                                    }> & keyof SyncedAssociations[InstanceType<DreamClass>["table"]])[AssociationName] extends any[]
                                    ? (any[any][number] extends string
                                        ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                        : any[any][number] extends any[]
                                            ? any[]
                                            : any[any][number] extends Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                : never)[]
                                    : (Partial<{
                                            [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                : never)
                                        }> & keyof SyncedAssociations[InstanceType<DreamClass>["table"]])[AssociationName] extends Partial<{
                                            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                : never)
                                        }>
                                        ? Partial<{
                                            [Property in string | number | symbol]: any[any][Property] extends string
                                                ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                : any[any][Property] extends any[]
                                                    ? any[]
                                                    : any[any][Property] extends Partial<{
                                                            [Property in string | number | symbol]: any
                                                        }>
                                                        ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                        : never
                                        }>
                                        : never) extends Partial<{
                                [AssociationName in string | number | symbol]: any
                            }>
                            ? Partial<({ [AssociationName in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                            : never
            }>
            : never) | ((keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
            [Property in string | number | symbol]: any
        }>
        ? Partial<{
            [Property in string | number | symbol]: any
        }>
        : never))[] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
    ? Partial<{
        [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
    }>
    : ((keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
        ? Partial<{
            [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
        }>
        : keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends any[]
            ? any[]
            : keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends Partial<{
                    [AssociationName in string | number | symbol]: any
                }>
                ? Partial<{
                    [AssociationName in string | number | symbol]: any
                }>
                : never) | (any[] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
        ? Partial<{
            [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
        }>
        : any[]) | ((any extends Partial<{
                [Property in string | number | symbol]: any
            }>
            ? Partial<{
                [Property in string | number | symbol]: any
            }>
            : never) extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
        ? Partial<{
            [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
        }>
        : (any extends Partial<{
                    [Property in string | number | symbol]: any
                }>
                ? Partial<{
                    [Property in string | number | symbol]: any
                }>
                : never) extends any[]
            ? any[]
            : (any extends Partial<{
                        [Property in string | number | symbol]: any
                    }>
                    ? Partial<{
                        [Property in string | number | symbol]: any
                    }>
                    : never) extends Partial<{
                    [AssociationName in string | number | symbol]: any
                }>
                ? Partial<{
                    [AssociationName in string | number | symbol]: any
                }>
                : never))[]) | ((any extends Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                ? Partial<{
                    [Property in string | number | symbol]: any
                }>
                : never)
        }>
        ? Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                    [Property in string | number | symbol]: any
                }>
                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                : never)
        }>
        : never) extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
    ? Partial<{
        [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
    }>
    : (any extends Partial<{
                [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                    ? Partial<{
                        [Property in string | number | symbol]: any
                    }>
                    : never)
            }>
            ? Partial<{
                [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                        [Property in string | number | symbol]: any
                    }>
                    ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                    : never)
            }>
            : never) extends any[]
        ? ((any[] & (any extends Partial<{
                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                        ? Partial<{
                            [Property in string | number | symbol]: any
                        }>
                        : never)
                }>
                ? Partial<{
                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                            [Property in string | number | symbol]: any
                        }>
                        ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                        : never)
                }>
                : never))[number] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
            ? Partial<{
                [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
            }>
            : (any[] & (any extends Partial<{
                        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                            ? Partial<{
                                [Property in string | number | symbol]: any
                            }>
                            : never)
                    }>
                    ? Partial<{
                        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                [Property in string | number | symbol]: any
                            }>
                            ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                            : never)
                    }>
                    : never))[number] extends any[]
                ? any[]
                : (any[] & (any extends Partial<{
                            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                ? Partial<{
                                    [Property in string | number | symbol]: any
                                }>
                                : never)
                        }>
                        ? Partial<{
                            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                    [Property in string | number | symbol]: any
                                }>
                                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                : never)
                        }>
                        : never))[number] extends Partial<{
                        [AssociationName in string | number | symbol]: any
                    }>
                    ? Partial<{
                        [AssociationName in string | number | symbol]: any
                    }>
                    : never)[]
        : (any extends Partial<{
                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                        ? Partial<{
                            [Property in string | number | symbol]: any
                        }>
                        : never)
                }>
                ? Partial<{
                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                            [Property in string | number | symbol]: any
                        }>
                        ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                        : never)
                }>
                : never) extends Partial<{
                [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                        [Property in string | number | symbol]: any
                    }>
                    ? Partial<{
                        [Property in string | number | symbol]: any
                    }>
                    : never)
            }>
            ? Partial<{
                [AssociationName in string | number | symbol]: ((any extends Partial<{
                                [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                    ? Partial<{
                                        [Property in string | number | symbol]: any
                                    }>
                                    : never)
                            }>
                            ? Partial<{
                                [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                        [Property in string | number | symbol]: any
                                    }>
                                    ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                    : never)
                            }>
                            : never)[AssociationName] extends string
                        ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                        : (any extends Partial<{
                                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                        ? Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        : never)
                                }>
                                ? Partial<{
                                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                        : never)
                                }>
                                : never)[AssociationName] extends any[]
                            ? (any[any][number] extends string
                                ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                : any[any][number] extends any[]
                                    ? any[]
                                    : any[any][number] extends Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        ? Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        : never)[]
                            : (any extends Partial<{
                                        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                            ? Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            : never)
                                    }>
                                    ? Partial<{
                                        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                            : never)
                                    }>
                                    : never)[AssociationName] extends Partial<{
                                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                        ? Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        : never)
                                }>
                                ? Partial<{
                                    [Property in string | number | symbol]: any[any][Property] extends string
                                        ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                        : any[any][Property] extends any[]
                                            ? any[]
                                            : any[any][Property] extends Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                : never
                                }>
                                : never) extends keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                    ? Partial<{
                        [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                    }>
                    : ((any extends Partial<{
                                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                        ? Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        : never)
                                }>
                                ? Partial<{
                                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                        : never)
                                }>
                                : never)[AssociationName] extends string
                            ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                            : (any extends Partial<{
                                        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                            ? Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            : never)
                                    }>
                                    ? Partial<{
                                        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                            : never)
                                    }>
                                    : never)[AssociationName] extends any[]
                                ? (any[any][number] extends string
                                    ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                    : any[any][number] extends any[]
                                        ? any[]
                                        : any[any][number] extends Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            ? Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            : never)[]
                                : (any extends Partial<{
                                            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                : never)
                                        }>
                                        ? Partial<{
                                            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                : never)
                                        }>
                                        : never)[AssociationName] extends Partial<{
                                        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                            ? Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            : never)
                                    }>
                                    ? Partial<{
                                        [Property in string | number | symbol]: any[any][Property] extends string
                                            ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                            : any[any][Property] extends any[]
                                                ? any[]
                                                : any[any][Property] extends Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                    : never
                                    }>
                                    : never) extends any[]
                        ? any[]
                        : ((any extends Partial<{
                                        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                            ? Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            : never)
                                    }>
                                    ? Partial<{
                                        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                            : never)
                                    }>
                                    : never)[AssociationName] extends string
                                ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                : (any extends Partial<{
                                            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                : never)
                                        }>
                                        ? Partial<{
                                            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                : never)
                                        }>
                                        : never)[AssociationName] extends any[]
                                    ? (any[any][number] extends string
                                        ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                        : any[any][number] extends any[]
                                            ? any[]
                                            : any[any][number] extends Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                : never)[]
                                    : (any extends Partial<{
                                                [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                    ? Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    : never)
                                            }>
                                            ? Partial<{
                                                [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                    : never)
                                            }>
                                            : never)[AssociationName] extends Partial<{
                                            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                : never)
                                        }>
                                        ? Partial<{
                                            [Property in string | number | symbol]: any[any][Property] extends string
                                                ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                : any[any][Property] extends any[]
                                                    ? any[]
                                                    : any[any][Property] extends Partial<{
                                                            [Property in string | number | symbol]: any
                                                        }>
                                                        ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                        : never
                                        }>
                                        : never) extends Partial<{
                                [AssociationName in string | number | symbol]: any
                            }>
                            ? Partial<({ [AssociationName in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                            : never
            }>
            : never))[] = []
whereNotStatement: readonly Partial<MergeUnionOfRecordTypes<Updateable<any> | Partial<Record<string | number | symbol, default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>[] = []
whereStatement: readonly Partial<MergeUnionOfRecordTypes<Updateable<any> | Partial<Record<string | number | symbol, default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>[] = []

Accessors

Methods

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T
    • attributes: Partial<MergeUnionOfRecordTypes<Updateable<DB[InstanceType<DreamClass>["table"]]> | Partial<Record<keyof DB[InstanceType<DreamClass>["table"]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>> | (T["joinsStatements"][number] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? Partial<{
              [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
          }>
          : T["joinsStatements"][number] extends any[]
              ? (any[any][number] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
                  ? Partial<{
                      [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                  }>
                  : any[any][number] extends any[]
                      ? any[]
                      : any[any][number] extends Partial<{
                              [AssociationName in string | number | symbol]: any
                          }>
                          ? Partial<{
                              [AssociationName in string | number | symbol]: any
                          }>
                          : never)[]
              : T["joinsStatements"][number] extends Partial<{
                      [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          ? Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          : never)
                  }>
                  ? Partial<{
                      [AssociationName in string | number | symbol]: (any[any][AssociationName] extends string
                              ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                              : any[any][AssociationName] extends any[]
                                  ? (any[any][number] extends string
                                      ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                      : any[any][number] extends any[]
                                          ? any[]
                                          : any[any][number] extends Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              : never)[]
                                  : any[any][AssociationName] extends Partial<{
                                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              : never)
                                      }>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any[any][Property] extends string
                                              ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                              : any[any][Property] extends any[]
                                                  ? any[]
                                                  : any[any][Property] extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                      : never
                                      }>
                                      : never) extends keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                          ? Partial<{
                              [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                          }>
                          : (any[any][AssociationName] extends string
                                  ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                  : any[any][AssociationName] extends any[]
                                      ? (any[any][number] extends string
                                          ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                          : any[any][number] extends any[]
                                              ? any[]
                                              : any[any][number] extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)[]
                                      : any[any][AssociationName] extends Partial<{
                                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any[any][Property] extends string
                                                  ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                  : any[any][Property] extends any[]
                                                      ? any[]
                                                      : any[any][Property] extends Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                          : never
                                          }>
                                          : never) extends any[]
                              ? any[]
                              : (any[any][AssociationName] extends string
                                      ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                      : any[any][AssociationName] extends any[]
                                          ? (any[any][number] extends string
                                              ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                              : any[any][number] extends any[]
                                                  ? any[]
                                                  : any[any][number] extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)[]
                                          : any[any][AssociationName] extends Partial<{
                                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any[any][Property] extends string
                                                      ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                      : any[any][Property] extends any[]
                                                          ? any[]
                                                          : any[any][Property] extends Partial<{
                                                                  [Property in string | number | symbol]: any
                                                              }>
                                                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                              : never
                                              }>
                                              : never) extends Partial<{
                                      [AssociationName in string | number | symbol]: any
                                  }>
                                  ? Partial<({ [AssociationName in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                  : never
                  }>
                  : never)
    • typeOfWhere: "where" | "whereNot"

    Returns Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
            [Property in string | number | symbol]: any
        }>
        ? Partial<{
            [Property in string | number | symbol]: any
        }>
        : never))[] | (any extends Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                ? Partial<{
                    [Property in string | number | symbol]: any
                }>
                : never)
        }>
        ? Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                    [Property in string | number | symbol]: any
                }>
                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                : never)
        }>
        : never), "id" | "created_at">

  • Parameters

    • whereStatements: readonly Partial<MergeUnionOfRecordTypes<Updateable<DB[InstanceType<DreamClass>["table"]]> | Partial<Record<keyof DB[InstanceType<DreamClass>["table"]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>[]
    • alias: string

    Returns any[]

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T

    Returns Promise<InstanceType<DreamClass>[]>

  • Parameters

    • includesStatement: QueryAssociationExpression
    • dream: Dream | Dream[]

    Returns Promise<void>

  • Parameters

    • currentAssociationTableOrAlias: string
    • dreams: Dream | Dream[]

    Returns Promise<any>

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T
    • __namedParameters: {
          currentAssociationTableOrAlias: string;
          dreamClass: typeof Dream;
          previousAssociationTableOrAlias: string;
          query: SelectQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}>;
      }
      • currentAssociationTableOrAlias: string
      • dreamClass: typeof Dream
      • previousAssociationTableOrAlias: string
      • query: SelectQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}>

    Returns {
        association: any;
        currentAssociationTableOrAlias: string;
        previousAssociationTableOrAlias: string;
        query: SelectQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}>;
    }

    • association: any
    • currentAssociationTableOrAlias: string
    • previousAssociationTableOrAlias: string
    • query: SelectQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}>
  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T
    • query: SelectQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}>
    • whereStatement: Partial<MergeUnionOfRecordTypes<Updateable<DB[InstanceType<DreamClass>["table"]]> | Partial<Record<keyof DB[InstanceType<DreamClass>["table"]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>> | (T["joinsStatements"][number] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? Partial<{
              [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
          }>
          : T["joinsStatements"][number] extends any[]
              ? (any[any][number] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
                  ? Partial<{
                      [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                  }>
                  : any[any][number] extends any[]
                      ? any[]
                      : any[any][number] extends Partial<{
                              [AssociationName in string | number | symbol]: any
                          }>
                          ? Partial<{
                              [AssociationName in string | number | symbol]: any
                          }>
                          : never)[]
              : T["joinsStatements"][number] extends Partial<{
                      [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          ? Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          : never)
                  }>
                  ? Partial<{
                      [AssociationName in string | number | symbol]: (any[any][AssociationName] extends string
                              ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                              : any[any][AssociationName] extends any[]
                                  ? (any[any][number] extends string
                                      ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                      : any[any][number] extends any[]
                                          ? any[]
                                          : any[any][number] extends Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              : never)[]
                                  : any[any][AssociationName] extends Partial<{
                                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              : never)
                                      }>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any[any][Property] extends string
                                              ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                              : any[any][Property] extends any[]
                                                  ? any[]
                                                  : any[any][Property] extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                      : never
                                      }>
                                      : never) extends keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                          ? Partial<{
                              [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                          }>
                          : (any[any][AssociationName] extends string
                                  ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                  : any[any][AssociationName] extends any[]
                                      ? (any[any][number] extends string
                                          ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                          : any[any][number] extends any[]
                                              ? any[]
                                              : any[any][number] extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)[]
                                      : any[any][AssociationName] extends Partial<{
                                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any[any][Property] extends string
                                                  ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                  : any[any][Property] extends any[]
                                                      ? any[]
                                                      : any[any][Property] extends Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                          : never
                                          }>
                                          : never) extends any[]
                              ? any[]
                              : (any[any][AssociationName] extends string
                                      ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                      : any[any][AssociationName] extends any[]
                                          ? (any[any][number] extends string
                                              ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                              : any[any][number] extends any[]
                                                  ? any[]
                                                  : any[any][number] extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)[]
                                          : any[any][AssociationName] extends Partial<{
                                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any[any][Property] extends string
                                                      ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                      : any[any][Property] extends any[]
                                                          ? any[]
                                                          : any[any][Property] extends Partial<{
                                                                  [Property in string | number | symbol]: any
                                                              }>
                                                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                              : never
                                              }>
                                              : never) extends Partial<{
                                      [AssociationName in string | number | symbol]: any
                                  }>
                                  ? Partial<({ [AssociationName in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                  : never
                  }>
                  : never)
    • __namedParameters: {
          negate?: boolean;
      } = {}
      • Optional negate?: boolean

    Returns SelectQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}>

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    Returns Promise<void>

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    • WS extends Partial<{
          [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
      }> | Partial<MergeUnionOfRecordTypes<Updateable<DB[InstanceType<DreamClass>["table"]]> | Partial<Record<keyof DB[InstanceType<DreamClass>["table"]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>> | Partial<{
          [AssociationName in string | number | symbol]: ((Partial<{
                      [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          ? Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          : never)
                  }> & string)[AssociationName] extends string
                  ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                  : (Partial<{
                          [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              ? Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              : never)
                      }> & string)[AssociationName] extends any[]
                      ? (any[any][number] extends string
                          ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                          : any[any][number] extends any[]
                              ? any[]
                              : any[any][number] extends Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)[]
                      : (Partial<{
                              [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)
                          }> & string)[AssociationName] extends Partial<{
                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)
                          }>
                          ? Partial<{
                              [Property in string | number | symbol]: any[any][Property] extends string
                                  ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                  : any[any][Property] extends any[]
                                      ? any[]
                                      : any[any][Property] extends Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                          : never
                          }>
                          : never) extends keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
              ? Partial<{
                  [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
              }>
              : ((Partial<{
                          [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              ? Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              : never)
                      }> & string)[AssociationName] extends string
                      ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                      : (Partial<{
                              [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)
                          }> & string)[AssociationName] extends any[]
                          ? (any[any][number] extends string
                              ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                              : any[any][number] extends any[]
                                  ? any[]
                                  : any[any][number] extends Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      : never)[]
                          : (Partial<{
                                  [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      : never)
                              }> & string)[AssociationName] extends Partial<{
                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      : never)
                              }>
                              ? Partial<{
                                  [Property in string | number | symbol]: any[any][Property] extends string
                                      ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                      : any[any][Property] extends any[]
                                          ? any[]
                                          : any[any][Property] extends Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                              : never
                              }>
                              : never) extends any[]
                  ? any[]
                  : ((Partial<{
                              [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)
                          }> & string)[AssociationName] extends string
                          ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                          : (Partial<{
                                  [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      : never)
                              }> & string)[AssociationName] extends any[]
                              ? (any[any][number] extends string
                                  ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                  : any[any][number] extends any[]
                                      ? any[]
                                      : any[any][number] extends Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          : never)[]
                              : (Partial<{
                                      [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          : never)
                                  }> & string)[AssociationName] extends Partial<{
                                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          : never)
                                  }>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any[any][Property] extends string
                                          ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                          : any[any][Property] extends any[]
                                              ? any[]
                                              : any[any][Property] extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                  : never
                                  }>
                                  : never) extends Partial<{
                          [AssociationName in string | number | symbol]: any
                      }>
                      ? Partial<({ [AssociationName in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                      : never
      }> | Partial<{
          [AssociationName in string | number | symbol]: ((Partial<{
                      [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          ? Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          : never)
                  }> & number)[AssociationName] extends string
                  ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                  : (Partial<{
                          [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              ? Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              : never)
                      }> & number)[AssociationName] extends any[]
                      ? (any[any][number] extends string
                          ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                          : any[any][number] extends any[]
                              ? any[]
                              : any[any][number] extends Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)[]
                      : (Partial<{
                              [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)
                          }> & number)[AssociationName] extends Partial<{
                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)
                          }>
                          ? Partial<{
                              [Property in string | number | symbol]: any[any][Property] extends string
                                  ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                  : any[any][Property] extends any[]
                                      ? any[]
                                      : any[any][Property] extends Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                          : never
                          }>
                          : never) extends keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
              ? Partial<{
                  [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
              }>
              : ((Partial<{
                          [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              ? Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              : never)
                      }> & number)[AssociationName] extends string
                      ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                      : (Partial<{
                              [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)
                          }> & number)[AssociationName] extends any[]
                          ? (any[any][number] extends string
                              ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                              : any[any][number] extends any[]
                                  ? any[]
                                  : any[any][number] extends Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      : never)[]
                          : (Partial<{
                                  [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      : never)
                              }> & number)[AssociationName] extends Partial<{
                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      : never)
                              }>
                              ? Partial<{
                                  [Property in string | number | symbol]: any[any][Property] extends string
                                      ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                      : any[any][Property] extends any[]
                                          ? any[]
                                          : any[any][Property] extends Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                              : never
                              }>
                              : never) extends any[]
                  ? any[]
                  : ((Partial<{
                              [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)
                          }> & number)[AssociationName] extends string
                          ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                          : (Partial<{
                                  [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      : never)
                              }> & number)[AssociationName] extends any[]
                              ? (any[any][number] extends string
                                  ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                  : any[any][number] extends any[]
                                      ? any[]
                                      : any[any][number] extends Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          : never)[]
                              : (Partial<{
                                      [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          : never)
                                  }> & number)[AssociationName] extends Partial<{
                                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          : never)
                                  }>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any[any][Property] extends string
                                          ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                          : any[any][Property] extends any[]
                                              ? any[]
                                              : any[any][Property] extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                  : never
                                  }>
                                  : never) extends Partial<{
                          [AssociationName in string | number | symbol]: any
                      }>
                      ? Partial<({ [AssociationName in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                      : never
      }> | Partial<{
          [AssociationName in string | number | symbol]: ((Partial<{
                      [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          ? Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          : never)
                  }> & symbol)[AssociationName] extends string
                  ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                  : (Partial<{
                          [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              ? Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              : never)
                      }> & symbol)[AssociationName] extends any[]
                      ? (any[any][number] extends string
                          ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                          : any[any][number] extends any[]
                              ? any[]
                              : any[any][number] extends Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)[]
                      : (Partial<{
                              [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)
                          }> & symbol)[AssociationName] extends Partial<{
                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)
                          }>
                          ? Partial<{
                              [Property in string | number | symbol]: any[any][Property] extends string
                                  ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                  : any[any][Property] extends any[]
                                      ? any[]
                                      : any[any][Property] extends Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                          : never
                          }>
                          : never) extends keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
              ? Partial<{
                  [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
              }>
              : ((Partial<{
                          [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              ? Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              : never)
                      }> & symbol)[AssociationName] extends string
                      ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                      : (Partial<{
                              [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)
                          }> & symbol)[AssociationName] extends any[]
                          ? (any[any][number] extends string
                              ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                              : any[any][number] extends any[]
                                  ? any[]
                                  : any[any][number] extends Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      : never)[]
                          : (Partial<{
                                  [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      : never)
                              }> & symbol)[AssociationName] extends Partial<{
                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      : never)
                              }>
                              ? Partial<{
                                  [Property in string | number | symbol]: any[any][Property] extends string
                                      ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                      : any[any][Property] extends any[]
                                          ? any[]
                                          : any[any][Property] extends Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                              : never
                              }>
                              : never) extends any[]
                  ? any[]
                  : ((Partial<{
                              [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)
                          }> & symbol)[AssociationName] extends string
                          ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                          : (Partial<{
                                  [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      : never)
                              }> & symbol)[AssociationName] extends any[]
                              ? (any[any][number] extends string
                                  ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                  : any[any][number] extends any[]
                                      ? any[]
                                      : any[any][number] extends Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          : never)[]
                              : (Partial<{
                                      [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          : never)
                                  }> & symbol)[AssociationName] extends Partial<{
                                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          : never)
                                  }>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any[any][Property] extends string
                                          ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                          : any[any][Property] extends any[]
                                              ? any[]
                                              : any[any][Property] extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                  : never
                                  }>
                                  : never) extends Partial<{
                          [AssociationName in string | number | symbol]: any
                      }>
                      ? Partial<({ [AssociationName in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                      : never
      }> | ((keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? Partial<{
              [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
          }>
          : keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends any[]
              ? any[]
              : keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends Partial<{
                      [AssociationName in string | number | symbol]: any
                  }>
                  ? Partial<{
                      [AssociationName in string | number | symbol]: any
                  }>
                  : never) | (any[] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? Partial<{
              [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
          }>
          : any[]) | ((any extends Partial<{
                  [Property in string | number | symbol]: any
              }>
              ? Partial<{
                  [Property in string | number | symbol]: any
              }>
              : never) extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? Partial<{
              [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
          }>
          : (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never) extends any[]
              ? any[]
              : (any extends Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      ? Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      : never) extends Partial<{
                      [AssociationName in string | number | symbol]: any
                  }>
                  ? Partial<{
                      [AssociationName in string | number | symbol]: any
                  }>
                  : never))[] | ((any[] & Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>)[number] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? Partial<{
              [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
          }>
          : (any[] & Partial<{
                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                      : never)
              }>)[number] extends any[]
              ? any[]
              : (any[] & Partial<{
                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                          : never)
                  }>)[number] extends Partial<{
                      [AssociationName in string | number | symbol]: any
                  }>
                  ? Partial<{
                      [AssociationName in string | number | symbol]: any
                  }>
                  : never)[] | Partial<{
          [AssociationName in string | number | symbol]: (Partial<{
                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                          : never)
                  }>[AssociationName] extends string
                  ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                  : Partial<{
                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                              : never)
                      }>[AssociationName] extends any[]
                      ? (any[any][number] extends string
                          ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                          : any[any][number] extends any[]
                              ? any[]
                              : any[any][number] extends Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)[]
                      : Partial<{
                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                  : never)
                          }>[AssociationName] extends Partial<{
                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)
                          }>
                          ? Partial<{
                              [Property in string | number | symbol]: any[any][Property] extends string
                                  ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                  : any[any][Property] extends any[]
                                      ? any[]
                                      : any[any][Property] extends Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                          : never
                          }>
                          : never) extends keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
              ? Partial<{
                  [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
              }>
              : (Partial<{
                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                              : never)
                      }>[AssociationName] extends string
                      ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                      : Partial<{
                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                  : never)
                          }>[AssociationName] extends any[]
                          ? (any[any][number] extends string
                              ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                              : any[any][number] extends any[]
                                  ? any[]
                                  : any[any][number] extends Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      : never)[]
                          : Partial<{
                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                      : never)
                              }>[AssociationName] extends Partial<{
                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      : never)
                              }>
                              ? Partial<{
                                  [Property in string | number | symbol]: any[any][Property] extends string
                                      ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                      : any[any][Property] extends any[]
                                          ? any[]
                                          : any[any][Property] extends Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                              : never
                              }>
                              : never) extends any[]
                  ? any[]
                  : (Partial<{
                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                  : never)
                          }>[AssociationName] extends string
                          ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                          : Partial<{
                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                      : never)
                              }>[AssociationName] extends any[]
                              ? (any[any][number] extends string
                                  ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                  : any[any][number] extends any[]
                                      ? any[]
                                      : any[any][number] extends Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          : never)[]
                              : Partial<{
                                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                          : never)
                                  }>[AssociationName] extends Partial<{
                                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          : never)
                                  }>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any[any][Property] extends string
                                          ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                          : any[any][Property] extends any[]
                                              ? any[]
                                              : any[any][Property] extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                  : never
                                  }>
                                  : never) extends Partial<{
                          [AssociationName in string | number | symbol]: any
                      }>
                      ? Partial<({ [AssociationName in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                      : never
      }>

    Parameters

    • this: T
    • query: SelectQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}>
    • whereStatements: WS | WS[]
    • __namedParameters: {
          negate?: boolean;
      } = {}
      • Optional negate?: boolean

    Returns SelectQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}>

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T
    • kyselyQuery: any

    Returns any

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T

    Returns DeleteQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}>

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T
    • __namedParameters: {
          bypassSelectAll?: boolean;
      } = {}
      • Optional bypassSelectAll?: boolean

    Returns SelectQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}>

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T
    • attributes: Updateable<InstanceType<DreamClass>["table"]>

    Returns UpdateQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, any, {}>

  • Parameters

    • opts: QueryOpts<DreamClass, ColumnType> = {}

    Returns Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
            [Property in string | number | symbol]: any
        }>
        ? Partial<{
            [Property in string | number | symbol]: any
        }>
        : never))[] | (any extends Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                ? Partial<{
                    [Property in string | number | symbol]: any
                }>
                : never)
        }>
        ? Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                    [Property in string | number | symbol]: any
                }>
                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                : never)
        }>
        : never), "id" | "created_at">

  • Parameters

    • this: Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at">

    Returns Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
            [Property in string | number | symbol]: any
        }>
        ? Partial<{
            [Property in string | number | symbol]: any
        }>
        : never))[] | (any extends Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                ? Partial<{
                    [Property in string | number | symbol]: any
                }>
                : never)
        }>
        ? Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                    [Property in string | number | symbol]: any
                }>
                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                : never)
        }>
        : never), "id" | "created_at">

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T

    Returns Promise<number>

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T

    Returns Promise<number>

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T
    • attributes: Updateable<InstanceType<DreamClass>["table"]>

    Returns Promise<number>

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T

    Returns Promise<boolean>

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    • TableName extends keyof InterpretedDB = Object

    Parameters

    • this: T
    • id: InterpretedDB[TableName][DreamClass["primaryKey"] & keyof InterpretedDB[TableName]]

    Returns Promise<null | InstanceType<DreamClass> & Dream>

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T
    • attributes: Partial<MergeUnionOfRecordTypes<Updateable<DB[InstanceType<DreamClass>["table"]]> | Partial<Record<keyof DB[InstanceType<DreamClass>["table"]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>

    Returns Promise<null | InstanceType<DreamClass> & Dream>

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T

    Returns Promise<null | InstanceType<DreamClass>>

  • Parameters

    • dreams: Dream[]
    • association: BelongsToStatement<any> | HasManyStatement<any> | HasOneStatement<any>
    • loadedAssociations: Dream[]

    Returns void

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    • QueryAssociationExpression extends string | number | symbol | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | Partial<{
          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                  [Property in string | number | symbol]: any
              }>
              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
              : never)
      }> = keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never)

    Parameters

    • this: T
    • Rest ...args: QueryAssociationExpression[]

    Returns Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
            [Property in string | number | symbol]: any
        }>
        ? Partial<{
            [Property in string | number | symbol]: any
        }>
        : never))[] | (any extends Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                ? Partial<{
                    [Property in string | number | symbol]: any
                }>
                : never)
        }>
        ? Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                    [Property in string | number | symbol]: any
                }>
                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                : never)
        }>
        : never), "id" | "created_at">

  • Parameters

    • dreamClass: typeof Dream
    • dreams: Dream[]
    • association: BelongsToStatement<any> | HasManyStatement<any> | HasOneStatement<any>

    Returns Promise<{
        association: BelongsToStatement<any> | HasManyStatement<any> | HasOneStatement<any>;
        dreams: Dream[];
    }>

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    • QueryAssociationExpression extends string | number | symbol | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | Partial<{
          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                  [Property in string | number | symbol]: any
              }>
              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
              : never)
      }> = keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never)

    Parameters

    • this: T
    • Rest ...args: QueryAssociationExpression[]

    Returns Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
            [Property in string | number | symbol]: any
        }>
        ? Partial<{
            [Property in string | number | symbol]: any
        }>
        : never))[] | (any extends Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                ? Partial<{
                    [Property in string | number | symbol]: any
                }>
                : never)
        }>
        ? Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                    [Property in string | number | symbol]: any
                }>
                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                : never)
        }>
        : never), "id" | "created_at">

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T
    • __namedParameters: {
          association: BelongsToStatement<any> | HasManyStatement<any> | HasOneStatement<any>;
          dreamClass: typeof Dream;
          previousAssociationTableOrAlias: string;
          query: SelectQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}>;
      }
      • association: BelongsToStatement<any> | HasManyStatement<any> | HasOneStatement<any>
      • dreamClass: typeof Dream
      • previousAssociationTableOrAlias: string
      • query: SelectQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}>

    Returns {
        association: BelongsToStatement<any> | HasManyStatement<any> | HasOneStatement<any>;
        dreamClass: typeof Dream;
        previousAssociationTableOrAlias: string;
        query: SelectQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}>;
    }

    • association: BelongsToStatement<any> | HasManyStatement<any> | HasOneStatement<any>
    • dreamClass: typeof Dream
    • previousAssociationTableOrAlias: string
    • query: SelectQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}>
  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T

    Returns Promise<null | InstanceType<DreamClass>>

  • Parameters

    • count: number

    Returns Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
            [Property in string | number | symbol]: any
        }>
        ? Partial<{
            [Property in string | number | symbol]: any
        }>
        : never))[] | (any extends Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                ? Partial<{
                    [Property in string | number | symbol]: any
                }>
                : never)
        }>
        ? Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                    [Property in string | number | symbol]: any
                }>
                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                : never)
        }>
        : never), "id" | "created_at">

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    • TableName extends "beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples"

    • SimpleFieldType extends string | number | symbol

    • JoinsFieldType extends `${string}.${string}` | ((keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]]>
          : keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends any[]
              ? any[]
              : keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends Partial<{
                      [AssociationName in string | number | symbol]: any
                  }>
                  ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]]> | NestedPluckTypeFromAssociationExpression<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]], Partial<{
                      [AssociationName in string | number | symbol]: any
                  }> & keyof SyncedAssociations[InstanceType<DreamClass>["table"]], 2>
                  : never) | (any[] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] & any[]>
          : any[]) | ((any extends Partial<{
                  [Property in string | number | symbol]: any
              }>
              ? Partial<{
                  [Property in string | number | symbol]: any
              }>
              : never) extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] & (any extends Partial<{
                  [Property in string | number | symbol]: any
              }>
              ? Partial<{
                  [Property in string | number | symbol]: any
              }>
              : never)>
          : (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never) extends any[]
              ? any[]
              : (any extends Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      ? Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      : never) extends Partial<{
                      [AssociationName in string | number | symbol]: any
                  }>
                  ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]]> | NestedPluckTypeFromAssociationExpression<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]], any extends Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      ? Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      : never, 2>
                  : never))[] | ((any[] & Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>)[number] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], any[any]>
          : (any[] & Partial<{
                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                      : never)
              }>)[number] extends any[]
              ? any[]
              : (any[] & Partial<{
                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                          : never)
                  }>)[number] extends Partial<{
                      [AssociationName in string | number | symbol]: any
                  }>
                  ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]]> | NestedPluckTypeFromAssociationExpression<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]], any[any], 2>
                  : never)[]

    Parameters

    • this: T
    • field: SimpleFieldType | JoinsFieldType

    Returns Promise<any>

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    • TableName extends "beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples"

    • SimpleFieldType extends string | number | symbol

    • JoinsFieldType extends `${string}.${string}` | ((keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]]>
          : keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends any[]
              ? any[]
              : keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends Partial<{
                      [AssociationName in string | number | symbol]: any
                  }>
                  ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]]> | NestedPluckTypeFromAssociationExpression<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]], Partial<{
                      [AssociationName in string | number | symbol]: any
                  }> & keyof SyncedAssociations[InstanceType<DreamClass>["table"]], 2>
                  : never) | (any[] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] & any[]>
          : any[]) | ((any extends Partial<{
                  [Property in string | number | symbol]: any
              }>
              ? Partial<{
                  [Property in string | number | symbol]: any
              }>
              : never) extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] & (any extends Partial<{
                  [Property in string | number | symbol]: any
              }>
              ? Partial<{
                  [Property in string | number | symbol]: any
              }>
              : never)>
          : (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never) extends any[]
              ? any[]
              : (any extends Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      ? Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      : never) extends Partial<{
                      [AssociationName in string | number | symbol]: any
                  }>
                  ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]]> | NestedPluckTypeFromAssociationExpression<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]], any extends Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      ? Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      : never, 2>
                  : never))[] | ((any[] & Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>)[number] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], any[any]>
          : (any[] & Partial<{
                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                      : never)
              }>)[number] extends any[]
              ? any[]
              : (any[] & Partial<{
                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                          : never)
                  }>)[number] extends Partial<{
                      [AssociationName in string | number | symbol]: any
                  }>
                  ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]]> | NestedPluckTypeFromAssociationExpression<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]], any[any], 2>
                  : never)[]

    Parameters

    • this: T
    • field: SimpleFieldType | JoinsFieldType

    Returns Promise<any>

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    • TableName extends "beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples"

    • SimpleFieldType extends string | number | symbol

    • JoinsFieldType extends `${string}.${string}` | ((keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]]>
          : keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends any[]
              ? any[]
              : keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends Partial<{
                      [AssociationName in string | number | symbol]: any
                  }>
                  ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]]> | NestedPluckTypeFromAssociationExpression<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]], Partial<{
                      [AssociationName in string | number | symbol]: any
                  }> & keyof SyncedAssociations[InstanceType<DreamClass>["table"]], 2>
                  : never) | (any[] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] & any[]>
          : any[]) | ((any extends Partial<{
                  [Property in string | number | symbol]: any
              }>
              ? Partial<{
                  [Property in string | number | symbol]: any
              }>
              : never) extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] & (any extends Partial<{
                  [Property in string | number | symbol]: any
              }>
              ? Partial<{
                  [Property in string | number | symbol]: any
              }>
              : never)>
          : (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never) extends any[]
              ? any[]
              : (any extends Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      ? Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      : never) extends Partial<{
                      [AssociationName in string | number | symbol]: any
                  }>
                  ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]]> | NestedPluckTypeFromAssociationExpression<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]], any extends Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      ? Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      : never, 2>
                  : never))[] | ((any[] & Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>)[number] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], any[any]>
          : (any[] & Partial<{
                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                      : never)
              }>)[number] extends any[]
              ? any[]
              : (any[] & Partial<{
                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                          : never)
                  }>)[number] extends Partial<{
                      [AssociationName in string | number | symbol]: any
                  }>
                  ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]]> | NestedPluckTypeFromAssociationExpression<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]], any[any], 2>
                  : never)[]

    Parameters

    • this: T
    • selection: SimpleFieldType | JoinsFieldType

    Returns SelectQueryBuilder<DB, ExtractTableAlias<DB, TableName>, any>

  • Parameters

    • orStatement: Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at">

    Returns Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
            [Property in string | number | symbol]: any
        }>
        ? Partial<{
            [Property in string | number | symbol]: any
        }>
        : never))[] | (any extends Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                ? Partial<{
                    [Property in string | number | symbol]: any
                }>
                : never)
        }>
        ? Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                    [Property in string | number | symbol]: any
                }>
                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                : never)
        }>
        : never), "id" | "created_at">

  • Type Parameters

    • ColumnName extends string

    Parameters

    • column: ColumnName
    • direction: "desc" | "asc" = 'asc'

    Returns Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
            [Property in string | number | symbol]: any
        }>
        ? Partial<{
            [Property in string | number | symbol]: any
        }>
        : never))[] | (any extends Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                ? Partial<{
                    [Property in string | number | symbol]: any
                }>
                : never)
        }>
        ? Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                    [Property in string | number | symbol]: any
                }>
                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                : never)
        }>
        : never), "id" | "created_at">

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    • TableName extends "beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples"

    • SimpleFieldType extends string | number | symbol

    • JoinsFieldType extends `${string}.${string}` | ((keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]]>
          : keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends any[]
              ? any[]
              : keyof SyncedAssociations[InstanceType<DreamClass>["table"]] extends Partial<{
                      [AssociationName in string | number | symbol]: any
                  }>
                  ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]]> | NestedPluckTypeFromAssociationExpression<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]], Partial<{
                      [AssociationName in string | number | symbol]: any
                  }> & keyof SyncedAssociations[InstanceType<DreamClass>["table"]], 2>
                  : never) | (any[] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] & any[]>
          : any[]) | ((any extends Partial<{
                  [Property in string | number | symbol]: any
              }>
              ? Partial<{
                  [Property in string | number | symbol]: any
              }>
              : never) extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] & (any extends Partial<{
                  [Property in string | number | symbol]: any
              }>
              ? Partial<{
                  [Property in string | number | symbol]: any
              }>
              : never)>
          : (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never) extends any[]
              ? any[]
              : (any extends Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      ? Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      : never) extends Partial<{
                      [AssociationName in string | number | symbol]: any
                  }>
                  ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]]> | NestedPluckTypeFromAssociationExpression<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]], any extends Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      ? Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      : never, 2>
                  : never))[] | ((any[] & Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>)[number] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], any[any]>
          : (any[] & Partial<{
                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                      : never)
              }>)[number] extends any[]
              ? any[]
              : (any[] & Partial<{
                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                          : never)
                  }>)[number] extends Partial<{
                      [AssociationName in string | number | symbol]: any
                  }>
                  ? PluckTypeFromAssociationName<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]]> | NestedPluckTypeFromAssociationExpression<InstanceType<DreamClass>["table"], keyof SyncedAssociations[InstanceType<DreamClass>["table"]], any[any], 2>
                  : never)[]

    Parameters

    • this: T
    • Rest ...fields: (SimpleFieldType | JoinsFieldType)[]

    Returns Promise<any[]>

  • Type Parameters

    • PreviousTableName extends "beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples"

    Parameters

    • query: SelectQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}>
    • whereJoinsStatement: (keyof SyncedAssociations[PreviousTableName] extends keyof SyncedAssociations[PreviousTableName]
          ? Partial<{
              [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
          }>
          : keyof SyncedAssociations[PreviousTableName] extends any[]
              ? (any extends keyof SyncedAssociations[PreviousTableName]
                  ? Partial<{
                      [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                  }>
                  : any[] | (any extends Partial<{
                          [AssociationName in string | number | symbol]: any
                      }>
                      ? Partial<{
                          [AssociationName in string | number | symbol]: any
                      }>
                      : never))[]
              : keyof SyncedAssociations[PreviousTableName] extends Partial<{
                      [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          ? Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          : never)
                  }>
                  ? Partial<{
                      [AssociationName in string | number | symbol]: ((Partial<{
                                  [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      : never)
                              }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends string
                              ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                              : (Partial<{
                                      [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          : never)
                                  }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends any[]
                                  ? (any[any][number] extends string
                                      ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                      : any[any][number] extends any[]
                                          ? any[]
                                          : any[any][number] extends Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              : never)[]
                                  : (Partial<{
                                          [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              : never)
                                      }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends Partial<{
                                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              : never)
                                      }>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any[any][Property] extends string
                                              ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                              : any[any][Property] extends any[]
                                                  ? any[]
                                                  : any[any][Property] extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                      : never
                                      }>
                                      : never) extends keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                          ? Partial<{
                              [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                          }>
                          : ((Partial<{
                                      [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          : never)
                                  }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends string
                                  ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                  : (Partial<{
                                          [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              : never)
                                      }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends any[]
                                      ? (any[any][number] extends string
                                          ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                          : any[any][number] extends any[]
                                              ? any[]
                                              : any[any][number] extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)[]
                                      : (Partial<{
                                              [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)
                                          }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends Partial<{
                                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any[any][Property] extends string
                                                  ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                  : any[any][Property] extends any[]
                                                      ? any[]
                                                      : any[any][Property] extends Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                          : never
                                          }>
                                          : never) extends any[]
                              ? any[]
                              : ((Partial<{
                                          [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              : never)
                                      }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends string
                                      ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                      : (Partial<{
                                              [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)
                                          }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends any[]
                                          ? (any[any][number] extends string
                                              ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                              : any[any][number] extends any[]
                                                  ? any[]
                                                  : any[any][number] extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)[]
                                          : (Partial<{
                                                  [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)
                                              }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends Partial<{
                                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any[any][Property] extends string
                                                      ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                      : any[any][Property] extends any[]
                                                          ? any[]
                                                          : any[any][Property] extends Partial<{
                                                                  [Property in string | number | symbol]: any
                                                              }>
                                                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                              : never
                                              }>
                                              : never) extends Partial<{
                                      [AssociationName in string | number | symbol]: any
                                  }>
                                  ? Partial<({ [AssociationName in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                  : never
                  }>
                  : never) | ((keyof SyncedAssociations[PreviousTableName] | any[] | (any extends Partial<{
                  [Property in string | number | symbol]: any
              }>
              ? Partial<{
                  [Property in string | number | symbol]: any
              }>
              : never))[] extends keyof SyncedAssociations[PreviousTableName]
          ? Partial<{
              [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
          }>
          : ((keyof SyncedAssociations[PreviousTableName] extends keyof SyncedAssociations[PreviousTableName]
              ? Partial<{
                  [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
              }>
              : keyof SyncedAssociations[PreviousTableName] extends any[]
                  ? any[]
                  : keyof SyncedAssociations[PreviousTableName] extends Partial<{
                          [AssociationName in string | number | symbol]: any
                      }>
                      ? Partial<{
                          [AssociationName in string | number | symbol]: any
                      }>
                      : never) | (any[] extends keyof SyncedAssociations[PreviousTableName]
              ? Partial<{
                  [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
              }>
              : any[]) | ((any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never) extends keyof SyncedAssociations[PreviousTableName]
              ? Partial<{
                  [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
              }>
              : (any extends Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      ? Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      : never) extends any[]
                  ? any[]
                  : (any extends Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          ? Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          : never) extends Partial<{
                          [AssociationName in string | number | symbol]: any
                      }>
                      ? Partial<{
                          [AssociationName in string | number | symbol]: any
                      }>
                      : never))[]) | ((any extends Partial<{
                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                      ? Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      : never)
              }>
              ? Partial<{
                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                      : never)
              }>
              : never) extends keyof SyncedAssociations[PreviousTableName]
          ? Partial<{
              [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
          }>
          : (any extends Partial<{
                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                          ? Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          : never)
                  }>
                  ? Partial<{
                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                          : never)
                  }>
                  : never) extends any[]
              ? ((any[] & (any extends Partial<{
                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                              ? Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              : never)
                      }>
                      ? Partial<{
                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                              : never)
                      }>
                      : never))[number] extends keyof SyncedAssociations[PreviousTableName]
                  ? Partial<{
                      [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                  }>
                  : (any[] & (any extends Partial<{
                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)
                          }>
                          ? Partial<{
                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                  : never)
                          }>
                          : never))[number] extends any[]
                      ? any[]
                      : (any[] & (any extends Partial<{
                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      : never)
                              }>
                              ? Partial<{
                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                      : never)
                              }>
                              : never))[number] extends Partial<{
                              [AssociationName in string | number | symbol]: any
                          }>
                          ? Partial<{
                              [AssociationName in string | number | symbol]: any
                          }>
                          : never)[]
              : (any extends Partial<{
                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                              ? Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              : never)
                      }>
                      ? Partial<{
                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                              : never)
                      }>
                      : never) extends Partial<{
                      [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          ? Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          : never)
                  }>
                  ? Partial<{
                      [AssociationName in string | number | symbol]: ((any extends Partial<{
                                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          : never)
                                  }>
                                  ? Partial<{
                                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                          : never)
                                  }>
                                  : never)[AssociationName] extends string
                              ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                              : (any extends Partial<{
                                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              : never)
                                      }>
                                      ? Partial<{
                                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                              : never)
                                      }>
                                      : never)[AssociationName] extends any[]
                                  ? (any[any][number] extends string
                                      ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                      : any[any][number] extends any[]
                                          ? any[]
                                          : any[any][number] extends Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              : never)[]
                                  : (any extends Partial<{
                                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                  : never)
                                          }>
                                          : never)[AssociationName] extends Partial<{
                                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              : never)
                                      }>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any[any][Property] extends string
                                              ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                              : any[any][Property] extends any[]
                                                  ? any[]
                                                  : any[any][Property] extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                      : never
                                      }>
                                      : never) extends keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                          ? Partial<{
                              [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                          }>
                          : ((any extends Partial<{
                                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              : never)
                                      }>
                                      ? Partial<{
                                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                              : never)
                                      }>
                                      : never)[AssociationName] extends string
                                  ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                  : (any extends Partial<{
                                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                  : never)
                                          }>
                                          : never)[AssociationName] extends any[]
                                      ? (any[any][number] extends string
                                          ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                          : any[any][number] extends any[]
                                              ? any[]
                                              : any[any][number] extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)[]
                                      : (any extends Partial<{
                                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                      : never)
                                              }>
                                              : never)[AssociationName] extends Partial<{
                                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any[any][Property] extends string
                                                  ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                  : any[any][Property] extends any[]
                                                      ? any[]
                                                      : any[any][Property] extends Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                          : never
                                          }>
                                          : never) extends any[]
                              ? any[]
                              : ((any extends Partial<{
                                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                  : never)
                                          }>
                                          : never)[AssociationName] extends string
                                      ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                      : (any extends Partial<{
                                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                      : never)
                                              }>
                                              : never)[AssociationName] extends any[]
                                          ? (any[any][number] extends string
                                              ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                              : any[any][number] extends any[]
                                                  ? any[]
                                                  : any[any][number] extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)[]
                                          : (any extends Partial<{
                                                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                          ? Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          : never)
                                                  }>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                          : never)
                                                  }>
                                                  : never)[AssociationName] extends Partial<{
                                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any[any][Property] extends string
                                                      ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                      : any[any][Property] extends any[]
                                                          ? any[]
                                                          : any[any][Property] extends Partial<{
                                                                  [Property in string | number | symbol]: any
                                                              }>
                                                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                              : never
                                              }>
                                              : never) extends Partial<{
                                      [AssociationName in string | number | symbol]: any
                                  }>
                                  ? Partial<({ [AssociationName in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                  : never
                  }>
                  : never) | Updateable<DB[PreviousTableName]>
    • previousAssociationTableOrAlias: string

    Returns SelectQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}>

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    • PreviousTableName extends "beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples"

    Parameters

    • this: T
    • __namedParameters: {
          dreamClass: typeof Dream;
          joinsStatement: (keyof SyncedAssociations[PreviousTableName] extends keyof SyncedAssociations[PreviousTableName]
              ? Partial<{
                  [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
              }>
              : keyof SyncedAssociations[PreviousTableName] extends any[]
                  ? (any extends keyof SyncedAssociations[PreviousTableName]
                      ? Partial<{
                          [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                      }>
                      : any[] | (any extends Partial<{
                              [AssociationName in string | number | symbol]: any
                          }>
                          ? Partial<{
                              [AssociationName in string | number | symbol]: any
                          }>
                          : never))[]
                  : keyof SyncedAssociations[PreviousTableName] extends Partial<{
                          [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              ? Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              : never)
                      }>
                      ? Partial<{
                          [AssociationName in string | number | symbol]: ((Partial<{
                                      [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          : never)
                                  }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends string
                                  ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                  : (Partial<{
                                          [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              : never)
                                      }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends any[]
                                      ? (any[any][number] extends string
                                          ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                          : any[any][number] extends any[]
                                              ? any[]
                                              : any[any][number] extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)[]
                                      : (Partial<{
                                              [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)
                                          }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends Partial<{
                                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any[any][Property] extends string
                                                  ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                  : any[any][Property] extends any[]
                                                      ? any[]
                                                      : any[any][Property] extends Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                          : never
                                          }>
                                          : never) extends keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                              ? Partial<{
                                  [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                              }>
                              : ((Partial<{
                                          [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              : never)
                                      }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends string
                                      ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                      : (Partial<{
                                              [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)
                                          }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends any[]
                                          ? (any[any][number] extends string
                                              ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                              : any[any][number] extends any[]
                                                  ? any[]
                                                  : any[any][number] extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)[]
                                          : (Partial<{
                                                  [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)
                                              }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends Partial<{
                                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any[any][Property] extends string
                                                      ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                      : any[any][Property] extends any[]
                                                          ? any[]
                                                          : any[any][Property] extends Partial<{
                                                                  [Property in string | number | symbol]: any
                                                              }>
                                                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                              : never
                                              }>
                                              : never) extends any[]
                                  ? any[]
                                  : ((Partial<{
                                              [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)
                                          }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends string
                                          ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                          : (Partial<{
                                                  [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)
                                              }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends any[]
                                              ? (any[any][number] extends string
                                                  ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                  : any[any][number] extends any[]
                                                      ? any[]
                                                      : any[any][number] extends Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          ? Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          : never)[]
                                              : (Partial<{
                                                      [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          ? Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          : never)
                                                  }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends Partial<{
                                                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                          ? Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          : never)
                                                  }>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any[any][Property] extends string
                                                          ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                          : any[any][Property] extends any[]
                                                              ? any[]
                                                              : any[any][Property] extends Partial<{
                                                                      [Property in string | number | symbol]: any
                                                                  }>
                                                                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                                  : never
                                                  }>
                                                  : never) extends Partial<{
                                          [AssociationName in string | number | symbol]: any
                                      }>
                                      ? Partial<({ [AssociationName in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                      : never
                      }>
                      : never) | ((keyof SyncedAssociations[PreviousTableName] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never))[] extends keyof SyncedAssociations[PreviousTableName]
              ? Partial<{
                  [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
              }>
              : ((keyof SyncedAssociations[PreviousTableName] extends keyof SyncedAssociations[PreviousTableName]
                  ? Partial<{
                      [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                  }>
                  : keyof SyncedAssociations[PreviousTableName] extends any[]
                      ? any[]
                      : keyof SyncedAssociations[PreviousTableName] extends Partial<{
                              [AssociationName in string | number | symbol]: any
                          }>
                          ? Partial<{
                              [AssociationName in string | number | symbol]: any
                          }>
                          : never) | (any[] extends keyof SyncedAssociations[PreviousTableName]
                  ? Partial<{
                      [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                  }>
                  : any[]) | ((any extends Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      ? Partial<{
                          [Property in string | number | symbol]: any
                      }>
                      : never) extends keyof SyncedAssociations[PreviousTableName]
                  ? Partial<{
                      [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                  }>
                  : (any extends Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          ? Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          : never) extends any[]
                      ? any[]
                      : (any extends Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              ? Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              : never) extends Partial<{
                              [AssociationName in string | number | symbol]: any
                          }>
                          ? Partial<{
                              [AssociationName in string | number | symbol]: any
                          }>
                          : never))[]) | ((any extends Partial<{
                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                          ? Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          : never)
                  }>
                  ? Partial<{
                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                          : never)
                  }>
                  : never) extends keyof SyncedAssociations[PreviousTableName]
              ? Partial<{
                  [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
              }>
              : (any extends Partial<{
                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                              ? Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              : never)
                      }>
                      ? Partial<{
                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                              : never)
                      }>
                      : never) extends any[]
                  ? ((any[] & (any extends Partial<{
                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)
                          }>
                          ? Partial<{
                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                  : never)
                          }>
                          : never))[number] extends keyof SyncedAssociations[PreviousTableName]
                      ? Partial<{
                          [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                      }>
                      : (any[] & (any extends Partial<{
                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      : never)
                              }>
                              ? Partial<{
                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                          [Property in string | number | symbol]: any
                                      }>
                                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                      : never)
                              }>
                              : never))[number] extends any[]
                          ? any[]
                          : (any[] & (any extends Partial<{
                                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          : never)
                                  }>
                                  ? Partial<{
                                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                              [Property in string | number | symbol]: any
                                          }>
                                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                          : never)
                                  }>
                                  : never))[number] extends Partial<{
                                  [AssociationName in string | number | symbol]: any
                              }>
                              ? Partial<{
                                  [AssociationName in string | number | symbol]: any
                              }>
                              : never)[]
                  : (any extends Partial<{
                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                  ? Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  : never)
                          }>
                          ? Partial<{
                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                      [Property in string | number | symbol]: any
                                  }>
                                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                  : never)
                          }>
                          : never) extends Partial<{
                          [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              ? Partial<{
                                  [Property in string | number | symbol]: any
                              }>
                              : never)
                      }>
                      ? Partial<{
                          [AssociationName in string | number | symbol]: ((any extends Partial<{
                                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              : never)
                                      }>
                                      ? Partial<{
                                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                              : never)
                                      }>
                                      : never)[AssociationName] extends string
                                  ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                  : (any extends Partial<{
                                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                  : never)
                                          }>
                                          : never)[AssociationName] extends any[]
                                      ? (any[any][number] extends string
                                          ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                          : any[any][number] extends any[]
                                              ? any[]
                                              : any[any][number] extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)[]
                                      : (any extends Partial<{
                                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                      : never)
                                              }>
                                              : never)[AssociationName] extends Partial<{
                                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any[any][Property] extends string
                                                  ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                  : any[any][Property] extends any[]
                                                      ? any[]
                                                      : any[any][Property] extends Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                          : never
                                          }>
                                          : never) extends keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                              ? Partial<{
                                  [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                              }>
                              : ((any extends Partial<{
                                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                  : never)
                                          }>
                                          : never)[AssociationName] extends string
                                      ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                      : (any extends Partial<{
                                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                      : never)
                                              }>
                                              : never)[AssociationName] extends any[]
                                          ? (any[any][number] extends string
                                              ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                              : any[any][number] extends any[]
                                                  ? any[]
                                                  : any[any][number] extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)[]
                                          : (any extends Partial<{
                                                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                          ? Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          : never)
                                                  }>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                          : never)
                                                  }>
                                                  : never)[AssociationName] extends Partial<{
                                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any[any][Property] extends string
                                                      ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                      : any[any][Property] extends any[]
                                                          ? any[]
                                                          : any[any][Property] extends Partial<{
                                                                  [Property in string | number | symbol]: any
                                                              }>
                                                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                              : never
                                              }>
                                              : never) extends any[]
                                  ? any[]
                                  : ((any extends Partial<{
                                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                      : never)
                                              }>
                                              : never)[AssociationName] extends string
                                          ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                          : (any extends Partial<{
                                                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                          ? Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          : never)
                                                  }>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                          : never)
                                                  }>
                                                  : never)[AssociationName] extends any[]
                                              ? (any[any][number] extends string
                                                  ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                  : any[any][number] extends any[]
                                                      ? any[]
                                                      : any[any][number] extends Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          ? Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          : never)[]
                                              : (any extends Partial<{
                                                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                              ? Partial<{
                                                                  [Property in string | number | symbol]: any
                                                              }>
                                                              : never)
                                                      }>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                                  [Property in string | number | symbol]: any
                                                              }>
                                                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                              : never)
                                                      }>
                                                      : never)[AssociationName] extends Partial<{
                                                      [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                          ? Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          : never)
                                                  }>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any[any][Property] extends string
                                                          ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                          : any[any][Property] extends any[]
                                                              ? any[]
                                                              : any[any][Property] extends Partial<{
                                                                      [Property in string | number | symbol]: any
                                                                  }>
                                                                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                                  : never
                                                  }>
                                                  : never) extends Partial<{
                                          [AssociationName in string | number | symbol]: any
                                      }>
                                      ? Partial<({ [AssociationName in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                      : never
                      }>
                      : never) | Updateable<DB[PreviousTableName]>;
          previousAssociationTableOrAlias: string;
          query: SelectQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}>;
      }
      • dreamClass: typeof Dream
      • joinsStatement: (keyof SyncedAssociations[PreviousTableName] extends keyof SyncedAssociations[PreviousTableName]
            ? Partial<{
                [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
            }>
            : keyof SyncedAssociations[PreviousTableName] extends any[]
                ? (any extends keyof SyncedAssociations[PreviousTableName]
                    ? Partial<{
                        [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                    }>
                    : any[] | (any extends Partial<{
                            [AssociationName in string | number | symbol]: any
                        }>
                        ? Partial<{
                            [AssociationName in string | number | symbol]: any
                        }>
                        : never))[]
                : keyof SyncedAssociations[PreviousTableName] extends Partial<{
                        [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                [Property in string | number | symbol]: any
                            }>
                            ? Partial<{
                                [Property in string | number | symbol]: any
                            }>
                            : never)
                    }>
                    ? Partial<{
                        [AssociationName in string | number | symbol]: ((Partial<{
                                    [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        ? Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        : never)
                                }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends string
                                ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                : (Partial<{
                                        [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            ? Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            : never)
                                    }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends any[]
                                    ? (any[any][number] extends string
                                        ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                        : any[any][number] extends any[]
                                            ? any[]
                                            : any[any][number] extends Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                : never)[]
                                    : (Partial<{
                                            [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                : never)
                                        }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends Partial<{
                                            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                : never)
                                        }>
                                        ? Partial<{
                                            [Property in string | number | symbol]: any[any][Property] extends string
                                                ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                : any[any][Property] extends any[]
                                                    ? any[]
                                                    : any[any][Property] extends Partial<{
                                                            [Property in string | number | symbol]: any
                                                        }>
                                                        ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                        : never
                                        }>
                                        : never) extends keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                            ? Partial<{
                                [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                            }>
                            : ((Partial<{
                                        [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            ? Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            : never)
                                    }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends string
                                    ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                    : (Partial<{
                                            [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                : never)
                                        }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends any[]
                                        ? (any[any][number] extends string
                                            ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                            : any[any][number] extends any[]
                                                ? any[]
                                                : any[any][number] extends Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    ? Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    : never)[]
                                        : (Partial<{
                                                [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    ? Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    : never)
                                            }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends Partial<{
                                                [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                    ? Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    : never)
                                            }>
                                            ? Partial<{
                                                [Property in string | number | symbol]: any[any][Property] extends string
                                                    ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                    : any[any][Property] extends any[]
                                                        ? any[]
                                                        : any[any][Property] extends Partial<{
                                                                [Property in string | number | symbol]: any
                                                            }>
                                                            ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                            : never
                                            }>
                                            : never) extends any[]
                                ? any[]
                                : ((Partial<{
                                            [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                : never)
                                        }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends string
                                        ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                        : (Partial<{
                                                [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    ? Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    : never)
                                            }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends any[]
                                            ? (any[any][number] extends string
                                                ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                : any[any][number] extends any[]
                                                    ? any[]
                                                    : any[any][number] extends Partial<{
                                                            [Property in string | number | symbol]: any
                                                        }>
                                                        ? Partial<{
                                                            [Property in string | number | symbol]: any
                                                        }>
                                                        : never)[]
                                            : (Partial<{
                                                    [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                            [Property in string | number | symbol]: any
                                                        }>
                                                        ? Partial<{
                                                            [Property in string | number | symbol]: any
                                                        }>
                                                        : never)
                                                }> & keyof SyncedAssociations[PreviousTableName])[AssociationName] extends Partial<{
                                                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                        ? Partial<{
                                                            [Property in string | number | symbol]: any
                                                        }>
                                                        : never)
                                                }>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: any[any][Property] extends string
                                                        ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                        : any[any][Property] extends any[]
                                                            ? any[]
                                                            : any[any][Property] extends Partial<{
                                                                    [Property in string | number | symbol]: any
                                                                }>
                                                                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                                : never
                                                }>
                                                : never) extends Partial<{
                                        [AssociationName in string | number | symbol]: any
                                    }>
                                    ? Partial<({ [AssociationName in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                    : never
                    }>
                    : never) | ((keyof SyncedAssociations[PreviousTableName] | any[] | (any extends Partial<{
                    [Property in string | number | symbol]: any
                }>
                ? Partial<{
                    [Property in string | number | symbol]: any
                }>
                : never))[] extends keyof SyncedAssociations[PreviousTableName]
            ? Partial<{
                [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
            }>
            : ((keyof SyncedAssociations[PreviousTableName] extends keyof SyncedAssociations[PreviousTableName]
                ? Partial<{
                    [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                }>
                : keyof SyncedAssociations[PreviousTableName] extends any[]
                    ? any[]
                    : keyof SyncedAssociations[PreviousTableName] extends Partial<{
                            [AssociationName in string | number | symbol]: any
                        }>
                        ? Partial<{
                            [AssociationName in string | number | symbol]: any
                        }>
                        : never) | (any[] extends keyof SyncedAssociations[PreviousTableName]
                ? Partial<{
                    [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                }>
                : any[]) | ((any extends Partial<{
                        [Property in string | number | symbol]: any
                    }>
                    ? Partial<{
                        [Property in string | number | symbol]: any
                    }>
                    : never) extends keyof SyncedAssociations[PreviousTableName]
                ? Partial<{
                    [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                }>
                : (any extends Partial<{
                            [Property in string | number | symbol]: any
                        }>
                        ? Partial<{
                            [Property in string | number | symbol]: any
                        }>
                        : never) extends any[]
                    ? any[]
                    : (any extends Partial<{
                                [Property in string | number | symbol]: any
                            }>
                            ? Partial<{
                                [Property in string | number | symbol]: any
                            }>
                            : never) extends Partial<{
                            [AssociationName in string | number | symbol]: any
                        }>
                        ? Partial<{
                            [AssociationName in string | number | symbol]: any
                        }>
                        : never))[]) | ((any extends Partial<{
                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                        ? Partial<{
                            [Property in string | number | symbol]: any
                        }>
                        : never)
                }>
                ? Partial<{
                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                            [Property in string | number | symbol]: any
                        }>
                        ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                        : never)
                }>
                : never) extends keyof SyncedAssociations[PreviousTableName]
            ? Partial<{
                [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
            }>
            : (any extends Partial<{
                        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                            ? Partial<{
                                [Property in string | number | symbol]: any
                            }>
                            : never)
                    }>
                    ? Partial<{
                        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                [Property in string | number | symbol]: any
                            }>
                            ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                            : never)
                    }>
                    : never) extends any[]
                ? ((any[] & (any extends Partial<{
                            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                ? Partial<{
                                    [Property in string | number | symbol]: any
                                }>
                                : never)
                        }>
                        ? Partial<{
                            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                    [Property in string | number | symbol]: any
                                }>
                                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                : never)
                        }>
                        : never))[number] extends keyof SyncedAssociations[PreviousTableName]
                    ? Partial<{
                        [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                    }>
                    : (any[] & (any extends Partial<{
                                [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                    ? Partial<{
                                        [Property in string | number | symbol]: any
                                    }>
                                    : never)
                            }>
                            ? Partial<{
                                [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                        [Property in string | number | symbol]: any
                                    }>
                                    ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                    : never)
                            }>
                            : never))[number] extends any[]
                        ? any[]
                        : (any[] & (any extends Partial<{
                                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                        ? Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        : never)
                                }>
                                ? Partial<{
                                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                            [Property in string | number | symbol]: any
                                        }>
                                        ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                        : never)
                                }>
                                : never))[number] extends Partial<{
                                [AssociationName in string | number | symbol]: any
                            }>
                            ? Partial<{
                                [AssociationName in string | number | symbol]: any
                            }>
                            : never)[]
                : (any extends Partial<{
                            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                ? Partial<{
                                    [Property in string | number | symbol]: any
                                }>
                                : never)
                        }>
                        ? Partial<{
                            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                    [Property in string | number | symbol]: any
                                }>
                                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                : never)
                        }>
                        : never) extends Partial<{
                        [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                [Property in string | number | symbol]: any
                            }>
                            ? Partial<{
                                [Property in string | number | symbol]: any
                            }>
                            : never)
                    }>
                    ? Partial<{
                        [AssociationName in string | number | symbol]: ((any extends Partial<{
                                        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                            ? Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            : never)
                                    }>
                                    ? Partial<{
                                        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                [Property in string | number | symbol]: any
                                            }>
                                            ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                            : never)
                                    }>
                                    : never)[AssociationName] extends string
                                ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                : (any extends Partial<{
                                            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                : never)
                                        }>
                                        ? Partial<{
                                            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                : never)
                                        }>
                                        : never)[AssociationName] extends any[]
                                    ? (any[any][number] extends string
                                        ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                        : any[any][number] extends any[]
                                            ? any[]
                                            : any[any][number] extends Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                : never)[]
                                    : (any extends Partial<{
                                                [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                    ? Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    : never)
                                            }>
                                            ? Partial<{
                                                [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                    : never)
                                            }>
                                            : never)[AssociationName] extends Partial<{
                                            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                : never)
                                        }>
                                        ? Partial<{
                                            [Property in string | number | symbol]: any[any][Property] extends string
                                                ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                : any[any][Property] extends any[]
                                                    ? any[]
                                                    : any[any][Property] extends Partial<{
                                                            [Property in string | number | symbol]: any
                                                        }>
                                                        ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                        : never
                                        }>
                                        : never) extends keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                            ? Partial<{
                                [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                            }>
                            : ((any extends Partial<{
                                            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                : never)
                                        }>
                                        ? Partial<{
                                            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                    [Property in string | number | symbol]: any
                                                }>
                                                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                : never)
                                        }>
                                        : never)[AssociationName] extends string
                                    ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                    : (any extends Partial<{
                                                [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                    ? Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    : never)
                                            }>
                                            ? Partial<{
                                                [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                    : never)
                                            }>
                                            : never)[AssociationName] extends any[]
                                        ? (any[any][number] extends string
                                            ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                            : any[any][number] extends any[]
                                                ? any[]
                                                : any[any][number] extends Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    ? Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    : never)[]
                                        : (any extends Partial<{
                                                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                        ? Partial<{
                                                            [Property in string | number | symbol]: any
                                                        }>
                                                        : never)
                                                }>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                            [Property in string | number | symbol]: any
                                                        }>
                                                        ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                        : never)
                                                }>
                                                : never)[AssociationName] extends Partial<{
                                                [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                    ? Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    : never)
                                            }>
                                            ? Partial<{
                                                [Property in string | number | symbol]: any[any][Property] extends string
                                                    ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                    : any[any][Property] extends any[]
                                                        ? any[]
                                                        : any[any][Property] extends Partial<{
                                                                [Property in string | number | symbol]: any
                                                            }>
                                                            ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                            : never
                                            }>
                                            : never) extends any[]
                                ? any[]
                                : ((any extends Partial<{
                                                [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                    ? Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    : never)
                                            }>
                                            ? Partial<{
                                                [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                        [Property in string | number | symbol]: any
                                                    }>
                                                    ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                    : never)
                                            }>
                                            : never)[AssociationName] extends string
                                        ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                        : (any extends Partial<{
                                                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                        ? Partial<{
                                                            [Property in string | number | symbol]: any
                                                        }>
                                                        : never)
                                                }>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                            [Property in string | number | symbol]: any
                                                        }>
                                                        ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                        : never)
                                                }>
                                                : never)[AssociationName] extends any[]
                                            ? (any[any][number] extends string
                                                ? keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                : any[any][number] extends any[]
                                                    ? any[]
                                                    : any[any][number] extends Partial<{
                                                            [Property in string | number | symbol]: any
                                                        }>
                                                        ? Partial<{
                                                            [Property in string | number | symbol]: any
                                                        }>
                                                        : never)[]
                                            : (any extends Partial<{
                                                        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                            ? Partial<{
                                                                [Property in string | number | symbol]: any
                                                            }>
                                                            : never)
                                                    }>
                                                    ? Partial<{
                                                        [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                                                                [Property in string | number | symbol]: any
                                                            }>
                                                            ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][Property] & ("beautiful_balloons" | "balloon_spotters" | ... 17 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                                            : never)
                                                    }>
                                                    : never)[AssociationName] extends Partial<{
                                                    [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                        ? Partial<{
                                                            [Property in string | number | symbol]: any
                                                        }>
                                                        : never)
                                                }>
                                                ? Partial<{
                                                    [Property in string | number | symbol]: any[any][Property] extends string
                                                        ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                        : any[any][Property] extends any[]
                                                            ? any[]
                                                            : any[any][Property] extends Partial<{
                                                                    [Property in string | number | symbol]: any
                                                                }>
                                                                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[numb...)>
                                                                : never
                                                }>
                                                : never) extends Partial<{
                                        [AssociationName in string | number | symbol]: any
                                    }>
                                    ? Partial<({ [AssociationName in keyof SyncedAssociations[(SyncedAssociations[PreviousTableName][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                    : never
                    }>
                    : never) | Updateable<DB[PreviousTableName]>
      • previousAssociationTableOrAlias: string
      • query: SelectQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}>

    Returns SelectQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}>

  • Parameters

    • type: "select" | "update" | "delete" = 'select'

    Returns SelectQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}> | DeleteQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, {}> | UpdateQueryBuilder<DB, ExtractTableAlias<DB, InstanceType<DreamClass>["table"]>, any, {}>

  • Parameters

    Returns Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
            [Property in string | number | symbol]: any
        }>
        ? Partial<{
            [Property in string | number | symbol]: any
        }>
        : never))[] | (any extends Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                ? Partial<{
                    [Property in string | number | symbol]: any
                }>
                : never)
        }>
        ? Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                    [Property in string | number | symbol]: any
                }>
                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                : never)
        }>
        : never), "id" | "created_at">

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T

    Returns Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
            [Property in string | number | symbol]: any
        }>
        ? Partial<{
            [Property in string | number | symbol]: any
        }>
        : never))[] | (any extends Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                ? Partial<{
                    [Property in string | number | symbol]: any
                }>
                : never)
        }>
        ? Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                    [Property in string | number | symbol]: any
                }>
                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                : never)
        }>
        : never), "id" | "created_at">

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T
    • attributes: Updateable<InstanceType<DreamClass>["table"]>

    Returns Promise<number>

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T
    • attributes: Partial<MergeUnionOfRecordTypes<Updateable<DB[InstanceType<DreamClass>["table"]]> | Partial<Record<keyof DB[InstanceType<DreamClass>["table"]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>> | (T["joinsStatements"][number] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
          ? Partial<{
              [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
          }>
          : T["joinsStatements"][number] extends any[]
              ? (any[any][number] extends keyof SyncedAssociations[InstanceType<DreamClass>["table"]]
                  ? Partial<{
                      [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                  }>
                  : any[any][number] extends any[]
                      ? any[]
                      : any[any][number] extends Partial<{
                              [AssociationName in string | number | symbol]: any
                          }>
                          ? Partial<{
                              [AssociationName in string | number | symbol]: any
                          }>
                          : never)[]
              : T["joinsStatements"][number] extends Partial<{
                      [AssociationName in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          ? Partial<{
                              [Property in string | number | symbol]: any
                          }>
                          : never)
                  }>
                  ? Partial<{
                      [AssociationName in string | number | symbol]: (any[any][AssociationName] extends string
                              ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                              : any[any][AssociationName] extends any[]
                                  ? (any[any][number] extends string
                                      ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                      : any[any][number] extends any[]
                                          ? any[]
                                          : any[any][number] extends Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              : never)[]
                                  : any[any][AssociationName] extends Partial<{
                                          [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any
                                              }>
                                              : never)
                                      }>
                                      ? Partial<{
                                          [Property in string | number | symbol]: any[any][Property] extends string
                                              ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                              : any[any][Property] extends any[]
                                                  ? any[]
                                                  : any[any][Property] extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                      : never
                                      }>
                                      : never) extends keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                          ? Partial<{
                              [AssociationName in string | number | symbol]: Partial<MergeUnionOfRecordTypes<Updateable<DB[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]> | Partial<Record<keyof DB[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>
                          }>
                          : (any[any][AssociationName] extends string
                                  ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                  : any[any][AssociationName] extends any[]
                                      ? (any[any][number] extends string
                                          ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                          : any[any][number] extends any[]
                                              ? any[]
                                              : any[any][number] extends Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)[]
                                      : any[any][AssociationName] extends Partial<{
                                              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                  ? Partial<{
                                                      [Property in string | number | symbol]: any
                                                  }>
                                                  : never)
                                          }>
                                          ? Partial<{
                                              [Property in string | number | symbol]: any[any][Property] extends string
                                                  ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                  : any[any][Property] extends any[]
                                                      ? any[]
                                                      : any[any][Property] extends Partial<{
                                                              [Property in string | number | symbol]: any
                                                          }>
                                                          ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                          : never
                                          }>
                                          : never) extends any[]
                              ? any[]
                              : (any[any][AssociationName] extends string
                                      ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                      : any[any][AssociationName] extends any[]
                                          ? (any[any][number] extends string
                                              ? keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                              : any[any][number] extends any[]
                                                  ? any[]
                                                  : any[any][number] extends Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)[]
                                          : any[any][AssociationName] extends Partial<{
                                                  [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                      ? Partial<{
                                                          [Property in string | number | symbol]: any
                                                      }>
                                                      : never)
                                              }>
                                              ? Partial<{
                                                  [Property in string | number | symbol]: any[any][Property] extends string
                                                      ? keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]]
                                                      : any[any][Property] extends any[]
                                                          ? any[]
                                                          : any[any][Property] extends Partial<{
                                                                  [Property in string | number | symbol]: any
                                                              }>
                                                              ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_ex...)>
                                                              : never
                                              }>
                                              : never) extends Partial<{
                                      [AssociationName in string | number | symbol]: any
                                  }>
                                  ? Partial<({ [AssociationName in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][AssociationName] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                                  : never
                  }>
                  : never)

    Returns Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
            [Property in string | number | symbol]: any
        }>
        ? Partial<{
            [Property in string | number | symbol]: any
        }>
        : never))[] | (any extends Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                ? Partial<{
                    [Property in string | number | symbol]: any
                }>
                : never)
        }>
        ? Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                    [Property in string | number | symbol]: any
                }>
                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                : never)
        }>
        : never), "id" | "created_at">

  • Type Parameters

    • T extends Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
              [Property in string | number | symbol]: any
          }>
          ? Partial<{
              [Property in string | number | symbol]: any
          }>
          : never))[] | (any extends Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  ? Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  : never)
          }>
          ? Partial<{
              [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                      [Property in string | number | symbol]: any
                  }>
                  ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                  : never)
          }>
          : never), "id" | "created_at", T>

    Parameters

    • this: T
    • attributes: Partial<MergeUnionOfRecordTypes<Updateable<DB[InstanceType<DreamClass>["table"]]> | Partial<Record<keyof DB[InstanceType<DreamClass>["table"]], default | Range<DateTime> | (() => Range<DateTime>) | Range<number> | default<any, any> | IdType[] | SelectQueryBuilder<DB, keyof DB, any>>>>>

    Returns Query<DreamClass, DB[InstanceType<DreamClass>["table"]], keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | (keyof SyncedAssociations[InstanceType<DreamClass>["table"]] | any[] | (any extends Partial<{
            [Property in string | number | symbol]: any
        }>
        ? Partial<{
            [Property in string | number | symbol]: any
        }>
        : never))[] | (any extends Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                ? Partial<{
                    [Property in string | number | symbol]: any
                }>
                : never)
        }>
        ? Partial<{
            [Property in string | number | symbol]: keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | "balloon_spotters" | "balloon_spotter_balloons" | "users" | "balloon_lines" | "sandbags" | "pets" | "composition_assets" | "compositions" | "composition_asset_audits" | "extra_ratings" | "posts" | "graph_edges" | "graph_nodes" | "graph_edge_nodes" | "collars" | "post_visibilities" | "ratings" | "user_settings" | "incompatible_foreign_key_type_examples")[])[number]] | any[] | (any extends Partial<{
                    [Property in string | number | symbol]: any
                }>
                ? Partial<({ [Property in keyof SyncedAssociations[(SyncedAssociations[InstanceType<DreamClass>["table"]][Property] & ("beautiful_balloons" | ... 18 more ... | "incompatible_foreign_key_type_examples")[])[number]]]: any; })>
                : never)
        }>
        : never), "id" | "created_at">

Generated using TypeDoc